import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'

import router from './router'

// 导入全局样式
import './styles/index.scss'

// 导入vant组件库
import vant from 'vant'
// 导入vant样式文件
import 'vant/lib/index.css'


// 导入vant组件库的移动端适配
import '@vant/touch-emulator'


// 导入自己的组件
import Plugin from './utils/Plugin'

const app = createApp(App)

// 挂载
app.use(createPinia())
app.use(Plugin)
app.use(router)
app.use(vant)
app.mount('#app')
